var app = getApp();

Page({
    data: {
        chatingsList: [
            {src: "../../image/ben.png", user: "微信团队", content: "登录操作通知", time:"昨天", news:true},
            {src: "../../image/ben3.png", user: "腾讯新闻", content: "中国成为世界的超级强国", time:"9月月16号", news:false},
            {src: "../../image/ben5.png", user: "QQ邮箱提醒", content: "迅雷会员中心：您已经成为尊贵的白金会员！", time:"刚刚",
             news:false},
            {src: "../../image/ben6.png", user: "凝智一家人", content: "卢嘉丽：财务核对已经完成", time:"15：48", news:true},
            {src: "../../image/ben2.jpg", user: "广东移动10086", content: "速领10元话费，至于蓝瘦和香菇！", time:"前天", 
            news:false}
        ]
    },
    tochat: function(){
        wx.navigateTo({
            url: '../chatting/chatting'
        });
    }
});